package com.code;

public class Account {
	private boolean vip;
	private String name;
	private String pwd;
	
	public Account() {
		this(false,"test","444444");
	}
	public Account(boolean vip, String pwd) {
		this.vip = vip;
		this.pwd = pwd;
	}
	public Account(boolean vip, String name, String pwd) {
		this(vip,pwd);
		this.name = name;
	}
	public boolean isVip() {
		return vip;
	}
	public void setVip(boolean vip) {
		this.vip = vip;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public void printThis(){
		System.out.println("this : " + this);
	}
	
}
